package com.chc.web.fee_power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chc.web.fee_power.entity.FeePower;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/01/17/15:18
 * @Description:
 */
public interface FeePowerMapper extends BaseMapper<FeePower> {

    IPage<FeePower> getList(IPage<FeePower> page, @Param("userName") String userName, @Param("houseNum") String houseNum);

    List<FeePower> getListPower(Long houseId);

    List<Integer> selectSevenMonthPowerConsumptionList();


}
